﻿/* ==============================================================================
* 功能描述：MsgGetData
* 创 建 者：青金石
* 创建日期：2020/5/30 14:06:15
* ==============================================================================*/

//玩家战绩
[System.Serializable]
public class PlayerData
{
    //玩家昵称
    public string name = "";

    //胜、负、逃跑次数
    public int win = 0;

    public int lose = 0;
    public int escape = 0;
}

//获取玩家数据
public class MsgGetAchieve : MsgBase
{
    //客户端发送
    public string id;

    //服务器回复
    public int result = 0;//0--成功，1失败

    public PlayerData playerData;

    public MsgGetAchieve()
    {
        protoName = "MsgGetAchieve";
    }
}